package com.yunzai.generic.service;

import java.util.concurrent.TimeUnit;

public interface IRedisService {

    public <T> void setValue(String key, T value);

    public <T> void setValue(String key, T value, int expire, TimeUnit timeUnit);

    public <T> T getValue(String key);

    public void deleteValue(String key);
}
